<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Ramda</title>
</head>
<body>
    <script src="../ramda.min.js"></script>
    <script>
        let arr = [2, 5, 8];
        let res = R.aperture(2, arr);
        console.log(res); // [[2,5],[5,8]]
    </script>
</body>
</html>